﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<MvcEngineModel>" %>

<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <% Html.RenderCssFile("Styles.css"); %>
    <% Html.RenderScriptTag("jquery-1.2.6.js"); %>
    <% Html.RenderScriptTag("jquery-ui.min.js"); %>
    <% Html.RenderScriptTag("jquery-1.3.2.min.js"); %>
    <% Html.RenderScriptTag("jquery-ui-1.7.2.custom.min.js"); %>
    <% Html.RenderScriptTag("jquery.validate.js"); %>
    <% Html.RenderScriptTag("ScriptsBackOffice.js"); %>
    <% Html.RenderScriptTag("MicrosoftAjax.js"); %>
    <% Html.RenderScriptTag("MicrosoftMvcAjax.js"); %>
    <title><%= Model.Localize("LoginPageTitle")%></title>
</head>
<body>
   <div id="login-container">
       <% using (Html.BeginForm())
          { %>
            <table>
                <tbody>
                    <tr>
                	    <td>
                            <p>
                                <strong>
                                    <label for="username"><%= Model.Localize("EmailLabel") %></label>
                                </strong>
                            </p>
                            <%= Html.TextBox("username") %>
                            <%= Html.ValidationMessage("username") %>					
                    </td>
                </tr>
                <tr>
                	<td>
                        <p>
                            <strong>
                                <label for="password"><%= Model.Localize("PasswordLabel")%></label>
                            </strong>
                        </p>
                        <%= Html.Password("password") %>
                        <%= Html.ValidationMessage("password") %>
                     </td>
                </tr>
                <tr>
                	<td>
                        <p>
                            <%= Html.CheckBox("rememberMe") %>
                            <label for="rememberMe"><%= Model.Localize("RememberMeLabel")%></label> 
                        </p>
                     </td>
                </tr>
                <tr>
                	<td>
                        <p>
                            <button type="submit"><%= Model.Localize("LoginLabel")%></button>
                        </p>
                    </td>
                </tr>
                </tbody>
            </table>			
        <% } %>
    </div>
   
    
    
</body>
</html>
